package com.lqwu.mallchatserver.common.event;

import com.lqwu.mallchatserver.user.model.entry.UserApply;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 用户申请好友事件
 */
@Getter
public class UserApplyEvent extends ApplicationEvent {
    /**
     * 用户好友申请
     */
    private final UserApply userApply;

    public UserApplyEvent(Object source, UserApply userApply) {
        super(source);
        this.userApply = userApply;
    }
}
